<!--
 * @Author: Zhouxin 2890091630@qq.com
 * @Date: 2024-08-20 14:40:11
 * @LastEditors: Zhouxin 2890091630@qq.com
 * @LastEditTime: 2024-08-20 21:21:39
 * @FilePath: \2024-8-20-day11\1.html
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
    /**
     * @description: 
     * @return {*}
     * @Date: 2024-08-20 14:40:46
     */        
    var x;
    function x(){};
     x=10;
     x();
     console.log(x);

    console.log(x);
     var x = 10;
     function x() {
        x = 20;
     }
     x();
    </script>
</body>
</html>